<!doctype html>
<html>

	<head>
		<meta charset="UTF-8">
		<title></title>
		<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
		<link href="css/mui.min.css" rel="stylesheet" />
		<link rel="stylesheet" type="text/css" href="css/iconfont4.css">
		<script src="js/mui.min.js"></script>
		<style type="text/css">
			#bcid {
				padding-top: 200px;;
				width: 100%;
				height: 100%;
				position: absolute;
				background: #FFD;
			}
			
			html,
			body,
			div {
				height: 100%;
				width: 100%;
			}
			
			.fbt {
				color: #0E76E1;
				width: 50%;
				background-color: #000000;
				float: left;
				line-height: 50px;
				text-align: center;
			}
			
			.iconfont {
				padding: 12px;
			}
		</style>
	</head>

	<body>
		<div class="mui-bar mui-bar-nav" style="background-color: #ffffff;">
			<a href="scQiyeMessage.html"  class=" mui-icon mui-icon-left-nav mui-pull-left"></a>
			<h1 class="mui-title" style="color: #0E76E1;">企业二维码</h1>
		</div>

		<center>
			<div id="bcid" >
				<!--盛放扫描控件的div-->
				<img src="http://113.71.26.27:8080/tpl/public/uploadImage/companyLogo/code.png" width="200px" height="200px"/>
			</div>
		</center>

		<script>
			function getCode(){
				var network = true;
				if(mui.os.plus) {
					mui.plusReady(function() {
						if(plus.networkinfo.getCurrentType() == plus.networkinfo.CONNECTION_NONE) {
							network = false;
						}
					});
				}
				if(network) {
						console.log('网络正常,正在发送请求...');
						mui.ajax({
                 				async:true,
     							type:'post',
                				url:'http://113.71.26.27:8080/tpl/phone/getCode',
                			    success: function(data){
                			    	if(data=="ok"){
                			   
                			    	}else{
                	
                			    	}
                			    }
                			  })
					}else {
						mui.toast("当前网络不给力，请稍后再试...");
					}
			}
				/**
		 * 重写返回事件
		 */
		mui.back = function(){
			
			window.location.href = "scQiyeMessage.html";
		}
		</script>
	</body>

</html>